package com.jae.mapper;

import com.jae.model.resc.Resc;
import com.jae.model.resc.RescDTO;
import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

/**
 * 权限Mapper
 * 
 * @author Jae
 * @email 1571878499@qq.com
 * @date 2020-12-01 09:22:00
 */
@Repository
public interface RescMapper{

	List<Resc> findAll();
	
	RescDTO findOne(Map map);
	
	RescDTO findById(Resc resc);
	
	int insert(Resc resc);
	
	int update(Resc resc);
	
	int updateDelete(Resc resc);
	
	int delete(Resc resc);

	List<Resc> findAllDefault();

}